package com.kuang.service;

import com.kuang.dao.ClassCourseMapper;
import com.kuang.pojo.ClassCourses;
import java.util.List;

public class ClassCourseServiceImpl implements ClassCourseService{

    private ClassCourseMapper classCourseMapper;

    public void setClassCourseMapper(ClassCourseMapper classCourseMapper) {
        this.classCourseMapper = classCourseMapper;
    }


    public int addClassCourse(ClassCourses classCourse) {return classCourseMapper.addClassCourse(classCourse);}

    public int deleteClassCourseByCid(int Cid) {return classCourseMapper.deleteClassCourseByCid(Cid);}

    public int updateClassCourse(ClassCourses classCourse) {return classCourseMapper.updateClassCourse(classCourse);}

    public ClassCourses queryClassCourseByCid (int Cid) {return classCourseMapper.queryClassCourseByCid(Cid);}

    public List<ClassCourses> queryAllClassCourse(){return classCourseMapper.queryAllClassCourse();}

    public List<ClassCourses> queryClassCourseByTid(int Tid){return classCourseMapper.queryClassCourseByTid(Tid);}

    public List<ClassCourses> queryClassCourseByClno(int Clno){return classCourseMapper.queryClassCourseByClno(Clno);}

}
